package com.UnionPayCenter.account.entity.dto;

import com.UnionPayCenter.account.enums.BillDutyEnum;
import com.UnionPayCenter.account.enums.PayChannelEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * 充值入参
 */
@Getter
@Setter
public class ChargeDTO {

    /**
     * 流水号
     */
    private String sn;

    /**
     * 账户Id
     */
    private Long accountId;

    /**
     * 用户Id
     */
    private Integer userId;


    /**
     * 充值原金额
     */
    private Integer totalAmount;

    /**
     * 充值金额
     */
    private Integer amount;

    /**
     * 参与折扣活动的金额
     */
    private Integer activityAmount;

    /**
     * 微信Id
     */
    private String openId;

    /**
     * 店铺Id
     */
    private Integer shopId;

    /**
     * 支付渠道
     */
    private PayChannelEnum payChannel;

    /**
     * 流水职责
     */
    private BillDutyEnum billDuty;

    /**
     * 是否直接充值到账户
     */
    private boolean chargeDirect = false;

    /**
     * 备注
     */
    private String remark;

    /**
     * 优惠券Id
     */
    private String discountId;
}
